feat(cli): add outdated command for checking package updates#262
Merged
feat(cli): add outdated command for checking package updates#262
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
e45b398 to
87e0cdc
Compare
1ed0db7 to
6ee1da6
Compare
87e0cdc to
17e4fd0
Compare
fc6dcc9 to
f0e4bb4
Compare
b8e90fc to
520eaf1
Compare
fengmk2
commented
Oct 28, 2025
branchseer
approved these changes
Oct 28, 2025
520eaf1 to
6dc7356
Compare
f0e4bb4 to
596039e
Compare
6dc7356 to
79e9e40
Compare
79e9e40 to
16ef856
Compare
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Added a new
vite outdatedcommand to check for outdated packages, with support for all package managers (pnpm, npm, yarn).What changed?
outdatedcommand to the Vite CLI that checks for outdated packages--filterflag--prod,--dev,--no-optional)-gflagupgrade-interactiveHow to test?
Why make this change?
This command simplifies dependency management by providing a unified interface for checking outdated packages across all package managers. It automatically adapts to the detected package manager (pnpm/npm/yarn) and translates flags appropriately, making it easier for developers to maintain up-to-date dependencies without needing to remember different syntaxes for each package manager.